﻿using CNKI.TPI.Web.Admin.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CNKI.TPI.Web.Report.IDAO
{
    public interface IDBStatisticsDAO
    {
        DataTable GetDBAccessInfo(IList<string> dbcode, DateTime? startDate, DateTime? endDate);
        /// <summary>
        /// 获取分类
        /// </summary>
        /// <returns></returns>
        IList<SYS_CMS_RESOURCE_TEMPLATE> GetTemplateClS();

        DataTable GetDBStatisticsInfo(string dbCode, DateTime? startDate, DateTime? endDate);
           /// <summary>
        /// 根据数据库编码获取数据库中记录数
        /// </summary>
        /// <param name="dbcode"></param>
        /// <returns></returns>
        int GetDBFieldCount(string dbcode);
    }
}
